import interaction_terminal as interaction_terminal_module
import input_data as input_data_module
from input_data import DataFrom


def run_script_through_terminal() -> None:
    """ Запускаем скрпит через терминал """

    input_data = input_data_module \
                    .InputDataFromUser(data_from=DataFrom.TERMINAL) \
                    .get_data_from_specified_source()

    interaction_terminal_module.InteractionTerminal().start(input_data)


def main():
    """ Начинается все тут """

    run_script_through_terminal()


if __name__ == '__main__':
    main()

